<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\Mdsparts */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="mdsparts-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'title')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'part_number')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'manufacturer_number')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'list_price')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'universal_part')->textInput() ?>

    <?= $form->field($model, 'brand_title')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'brand_id')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'description')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'fits')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'specifications_json')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'Quantity_Sold')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Product_Fit')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Warranty')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Color_Finish')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Material')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Location')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Series')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Notes')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'Seat_Type')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Fit_Note')->textarea(['rows' => 6]) ?>

    <?= $form->field($model, 'Design')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Position')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Type')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Row')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Recommended_Use')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Vehicle_Body_Type')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Construction')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'Kit_Type')->textInput(['maxlength' => true]) ?>

    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? 'Create' : 'Update', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
